@echo off
for /r %%a in (*.luac) do ren "%%a" "%%~na.lua"